#include "form2_2_1.h"
#include "ui_form2_2_1.h"

Form2_2_1::Form2_2_1(QEventLoop &qel,QWidget *parent)
    :eventLoop(qel),
    QWidget(parent),
    ui(new Ui::Form2_2_1)
{
    ui->setupUi(this);
}

Form2_2_1::~Form2_2_1()
{
    delete ui;
}

void Form2_2_1::on_pushButton_clicked()
{
    this->close();
    eventLoop.quit();
}

